package com.huangpuweb.api.model;

import org.springframework.jdbc.core.RowMapper;

import java.sql.ResultSet;
import java.sql.SQLException;

public class SysHpRoadRowMapper implements RowMapper<SysHpRoad>{



	@Override
	public SysHpRoad mapRow(ResultSet rs, int rowNum) throws SQLException {
		SysHpRoad  lj= new SysHpRoad();
		lj.setId(rs.getInt("id"));
		lj.setRid(rs.getString("rid"));
		lj.setCoordinates(rs.getString("coordinates"));
		lj.setInter_id(rs.getString("inter_id"));
		lj.setInter_name(rs.getString("inter_name"));
		lj.setRid_name(rs.getString("rid_name"));
		return lj;
	}

}
